Integrand size = 29, antiderivative size = 43 \[ \int \frac {\cos ^3(c+d x) \cot ^2(c+d x)}{(a+a \sin (c+d x))^2} \, dx=-\frac {\csc (c+d x)}{a^2 d}-\frac {2 \log (\sin (c+d x))}{a^2 d}+\frac {\sin (c+d x)}{a^2 d} \]
[Out]
Time = 0.07 (sec) , antiderivative size = 43, normalized size of antiderivative = 1.00, number of steps used = 4, number of rules used = 3, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.103, Rules used = {2915, 12, 45} \[ \int \frac {\cos ^3(c+d x) \cot ^2(c+d x)}{(a+a \sin (c+d x))^2} \, dx=\frac {\sin (c+d x)}{a^2 d}-\frac {\csc (c+d x)}{a^2 d}-\frac {2 \log (\sin (c+d x))}{a^2 d} \]
[In]
[Out]
Rule 12
Rule 45
Rule 2915
Rubi steps \begin{align*} \text {integral}& = \frac {\text {Subst}\left (\int \frac {a^2 (a-x)^2}{x^2} \, dx,x,a \sin (c+d x)\right )}{a^5 d} \\ & = \frac {\text {Subst}\left (\int \frac {(a-x)^2}{x^2} \, dx,x,a \sin (c+d x)\right )}{a^3 d} \\ & = \frac {\text {Subst}\left (\int \left (1+\frac {a^2}{x^2}-\frac {2 a}{x}\right ) \, dx,x,a \sin (c+d x)\right )}{a^3 d} \\ & = -\frac {\csc (c+d x)}{a^2 d}-\frac {2 \log (\sin (c+d x))}{a^2 d}+\frac {\sin (c+d x)}{a^2 d} \\ \end{align*}
Time = 0.03 (sec) , antiderivative size = 32, normalized size of antiderivative = 0.74 \[ \int \frac {\cos ^3(c+d x) \cot ^2(c+d x)}{(a+a \sin (c+d x))^2} \, dx=-\frac {\csc (c+d x)+2 \log (\sin (c+d x))-\sin (c+d x)}{a^2 d} \]
[In]
[Out]
Time = 0.33 (sec) , antiderivative size = 34, normalized size of antiderivative = 0.79
method | result | size |
derivativedivides | \(\frac {\sin \left (d x +c \right )-2 \ln \left (\sin \left (d x +c \right )\right )-\frac {1}{\sin \left (d x +c \right )}}{d \,a^{2}}\) | \(34\) |
default | \(\frac {\sin \left (d x +c \right )-2 \ln \left (\sin \left (d x +c \right )\right )-\frac {1}{\sin \left (d x +c \right )}}{d \,a^{2}}\) | \(34\) |
parallelrisch | \(\frac {4 \ln \left (\sec ^{2}\left (\frac {d x}{2}+\frac {c}{2}\right )\right )-4 \ln \left (\tan \left (\frac {d x}{2}+\frac {c}{2}\right )\right )+\left (-2 \cos \left (d x +c \right )+2\right ) \cot \left (\frac {d x}{2}+\frac {c}{2}\right )-\sec \left (\frac {d x}{2}+\frac {c}{2}\right ) \csc \left (\frac {d x}{2}+\frac {c}{2}\right )}{2 d \,a^{2}}\) | \(76\) |
risch | \(\frac {2 i x}{a^{2}}-\frac {i {\mathrm e}^{i \left (d x +c \right )}}{2 d \,a^{2}}+\frac {i {\mathrm e}^{-i \left (d x +c \right )}}{2 d \,a^{2}}+\frac {4 i c}{d \,a^{2}}-\frac {2 i {\mathrm e}^{i \left (d x +c \right )}}{d \,a^{2} \left ({\mathrm e}^{2 i \left (d x +c \right )}-1\right )}-\frac {2 \ln \left ({\mathrm e}^{2 i \left (d x +c \right )}-1\right )}{d \,a^{2}}\) | \(106\) |
norman | \(\frac {-\frac {1}{2 a d}-\frac {\tan ^{11}\left (\frac {d x}{2}+\frac {c}{2}\right )}{2 d a}+\frac {3 \left (\tan ^{2}\left (\frac {d x}{2}+\frac {c}{2}\right )\right )}{d a}+\frac {3 \left (\tan ^{9}\left (\frac {d x}{2}+\frac {c}{2}\right )\right )}{d a}+\frac {21 \left (\tan ^{5}\left (\frac {d x}{2}+\frac {c}{2}\right )\right )}{d a}+\frac {21 \left (\tan ^{6}\left (\frac {d x}{2}+\frac {c}{2}\right )\right )}{d a}+\frac {16 \left (\tan ^{4}\left (\frac {d x}{2}+\frac {c}{2}\right )\right )}{d a}+\frac {16 \left (\tan ^{7}\left (\frac {d x}{2}+\frac {c}{2}\right )\right )}{d a}+\frac {17 \left (\tan ^{3}\left (\frac {d x}{2}+\frac {c}{2}\right )\right )}{2 d a}+\frac {17 \left (\tan ^{8}\left (\frac {d x}{2}+\frac {c}{2}\right )\right )}{2 d a}}{\left (1+\tan ^{2}\left (\frac {d x}{2}+\frac {c}{2}\right )\right )^{3} \tan \left (\frac {d x}{2}+\frac {c}{2}\right ) a \left (\tan \left (\frac {d x}{2}+\frac {c}{2}\right )+1\right )^{3}}-\frac {2 \ln \left (\tan \left (\frac {d x}{2}+\frac {c}{2}\right )\right )}{d \,a^{2}}+\frac {2 \ln \left (1+\tan ^{2}\left (\frac {d x}{2}+\frac {c}{2}\right )\right )}{d \,a^{2}}\) | \(265\) |
[In]
[Out]
none
Time = 0.28 (sec) , antiderivative size = 42, normalized size of antiderivative = 0.98 \[ \int \frac {\cos ^3(c+d x) \cot ^2(c+d x)}{(a+a \sin (c+d x))^2} \, dx=-\frac {\cos \left (d x + c\right )^{2} + 2 \, \log \left (\frac {1}{2} \, \sin \left (d x + c\right )\right ) \sin \left (d x + c\right )}{a^{2} d \sin \left (d x + c\right )} \]
[In]
[Out]
Timed out. \[ \int \frac {\cos ^3(c+d x) \cot ^2(c+d x)}{(a+a \sin (c+d x))^2} \, dx=\text {Timed out} \]
[In]
[Out]
none
Time = 0.23 (sec) , antiderivative size = 41, normalized size of antiderivative = 0.95 \[ \int \frac {\cos ^3(c+d x) \cot ^2(c+d x)}{(a+a \sin (c+d x))^2} \, dx=-\frac {\frac {2 \, \log \left (\sin \left (d x + c\right )\right )}{a^{2}} - \frac {\sin \left (d x + c\right )}{a^{2}} + \frac {1}{a^{2} \sin \left (d x + c\right )}}{d} \]
[In]
[Out]
none
Time = 0.33 (sec) , antiderivative size = 53, normalized size of antiderivative = 1.23 \[ \int \frac {\cos ^3(c+d x) \cot ^2(c+d x)}{(a+a \sin (c+d x))^2} \, dx=-\frac {\frac {2 \, \log \left ({\left | \sin \left (d x + c\right ) \right |}\right )}{a^{2}} - \frac {\sin \left (d x + c\right )}{a^{2}} - \frac {2 \, \sin \left (d x + c\right ) - 1}{a^{2} \sin \left (d x + c\right )}}{d} \]
[In]
[Out]
Time = 9.46 (sec) , antiderivative size = 110, normalized size of antiderivative = 2.56 \[ \int \frac {\cos ^3(c+d x) \cot ^2(c+d x)}{(a+a \sin (c+d x))^2} \, dx=\frac {3\,{\mathrm {tan}\left (\frac {c}{2}+\frac {d\,x}{2}\right )}^2-1}{d\,\left (2\,a^2\,{\mathrm {tan}\left (\frac {c}{2}+\frac {d\,x}{2}\right )}^3+2\,a^2\,\mathrm {tan}\left (\frac {c}{2}+\frac {d\,x}{2}\right )\right )}-\frac {2\,\ln \left (\mathrm {tan}\left (\frac {c}{2}+\frac {d\,x}{2}\right )\right )}{a^2\,d}-\frac {\mathrm {tan}\left (\frac {c}{2}+\frac {d\,x}{2}\right )}{2\,a^2\,d}+\frac {2\,\ln \left ({\mathrm {tan}\left (\frac {c}{2}+\frac {d\,x}{2}\right )}^2+1\right )}{a^2\,d} \]
[In]
[Out]